package com.gjy.design.strategy.en;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-11-06 11:19:38
 */
public class Calculator {

    public double calculate(double x, double y, Operation operation) {
        return operation.apply(x, y);
    }

}
